package com.feihong.txgw.model.bean.location;

/**
 * Created by Sabirjan on 2017/6/15.
 * TXGW.
 * 飞宏电子
 */

public class LocationInfo {

    //获取纬度
    private double Latitude = 0;
    //获取经度
    private double Longitude = 0;

    //定位时间
    private long datetime = 0;

    public long getDatetime() {
        return datetime;
    }

    public void setDatetime(long datetime) {
        this.datetime = datetime;
    }

    public double getLatitude() {
        return Latitude;
    }

    public void setLatitude(double latitude) {
        Latitude = latitude;
    }

    public double getLongitude() {
        return Longitude;
    }

    public void setLongitude(double longitude) {
        Longitude = longitude;
    }

    public float getAccuracy() {
        return Accuracy;
    }

    public void setAccuracy(float accuracy) {
        Accuracy = accuracy;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public String getCountry() {
        return Country;
    }

    public void setCountry(String country) {
        Country = country;
    }

    public String getProvince() {
        return Province;
    }

    public void setProvince(String province) {
        Province = province;
    }

    public String getCity() {
        return City;
    }

    public void setCity(String city) {
        City = city;
    }

    public String getDistrict() {
        return District;
    }

    public void setDistrict(String district) {
        District = district;
    }

    public String getStreet() {
        return Street;
    }

    public void setStreet(String street) {
        Street = street;
    }

    public String getStreetNum() {
        return StreetNum;
    }

    public void setStreetNum(String streetNum) {
        StreetNum = streetNum;
    }

    public String getCityCode() {
        return CityCode;
    }

    public void setCityCode(String cityCode) {
        CityCode = cityCode;
    }

    public String getAdCode() {
        return AdCode;
    }

    public void setAdCode(String adCode) {
        AdCode = adCode;
    }

    //获取精度信息
    private float Accuracy = 0;

    //地址，如果option中设置isNeedAddress为false，则没有此结果，网络定位结果中会有地址信息，GPS定位不返回地址信息
    private String Address = "";

    //国家信息
    private String Country = "";
    //省信息
    private String Province = "";

    //城市信息
    private String City = "";

    //城区信息
    private String District = "";

    //街道信息
    private String Street = "";

    //街道门牌号信息
    private String StreetNum = "";

    //城市编码
    private String CityCode = "";
    //地区编码
    private String AdCode = "";

    @Override
    public String toString() {
        return "LocationInfo{" +
                "Latitude=" + Latitude +
                ", Longitude=" + Longitude +
                ", datetime=" + datetime +
                ", Accuracy=" + Accuracy +
                ", Address='" + Address + '\'' +
                ", Country='" + Country + '\'' +
                ", Province='" + Province + '\'' +
                ", City='" + City + '\'' +
                ", District='" + District + '\'' +
                ", Street='" + Street + '\'' +
                ", StreetNum='" + StreetNum + '\'' +
                ", CityCode='" + CityCode + '\'' +
                ", AdCode='" + AdCode + '\'' +
                '}';
    }
}
